package com.gs.spring.bean.javaconfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.gs.spring.bean.javaconfig.repository.InBoundCardRepository;
import com.gs.spring.bean.javaconfig.repository.OutBoundCardRepository;
import com.gs.spring.bean.javaconfig.repository.impl.InBoundCardRepositoryImpl;
import com.gs.spring.bean.javaconfig.repository.impl.OutBoundCardRepositoryImpl;

@Configuration
public class CardProcessingConfig {
	@Bean
	public OutBoundCardRepository outBoundCardRepository(){
		OutBoundCardRepository obcr = new OutBoundCardRepositoryImpl();
		return obcr;
	}
	
	@Bean
	public InBoundCardRepository inBoundCardRepository(){
		InBoundCardRepository ibcr = new InBoundCardRepositoryImpl();
		return ibcr;
	}
}
